package com.hxzy.shop.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 签约优惠卷信息表(SignCouponInfo)实体类
 *
 * @author makejava
 * @since 2022-09-05 15:55:29
 */
@Data
@ApiModel("签约优惠卷信息表")
public class SignCouponInfo implements Serializable {
    private static final long serialVersionUID = 506078289248096300L;
    /**
     * 合约用药签约信息id
     */
    @TableId
    @ApiModelProperty("合约用药签约信息id")
    private Long signCouponInfoId;
    /**
     * 会员id
     */
    @ApiModelProperty("会员id")
    private Long memberId;
    /**
     * 优惠卷id
     */
    @ApiModelProperty("优惠卷id")
    private Long couponId;
    /**
     * 序号
     */
    @ApiModelProperty("序号")
    private Integer sort;
    /**
     * 是否领取(0 未领取 1 已领取)
     */
    @ApiModelProperty("是否领取(0 未领取 1 已领取)")
    private Integer isReceive;
    /**
     * 领取时间
     */
    @ApiModelProperty("领取时间")
    private Date receiveTime;
    /**
     * 合约id
     */
    @ApiModelProperty("合约id")
    private Long contractMedicationId;
    /**
     * 商户id
     */
    @ApiModelProperty("商户id")
    private Long merchantId;


    @ApiModelProperty(value = "优惠卷状态 0 已使用  1未使用  2已失效")
    private Integer state;


    @ApiModelProperty(value = "合约会员表关联id")
    private Long contractInnerMemberId;

}

